export function getRotate14(x,y,num){
    let originX,originY;
    originX=num/2-0.5
    originY=num/2-0.5
    const relativeX=x-originX
    const relativeY=y-originY
    return [
        [relativeX+originX,relativeY+originY],
        [relativeY+originX,-relativeX+originY],
        [-relativeX+originX,-relativeY+originY],
        [-relativeY+originX,relativeX+originY],
    ]
}

export function get14(x,y,num){
    let originX,originY;
    originX=num/2-0.5
    originY=num/2-0.5
    const relativeX=x-originX
    const relativeY=y-originY
    return [
        [relativeX+originX,relativeY+originY],
        [relativeX+originX,-relativeY+originY],
        [-relativeX+originX,-relativeY+originY],
        [-relativeX+originX,relativeY+originY],
    ]
}

export function get18(x,y,num){
    let originX,originY;
    originX=num/2-0.5
    originY=num/2-0.5
    const relativeX=x-originX
    const relativeY=y-originY
    return [
        [relativeX+originX,relativeY+originY],
        [relativeY+originX,relativeX+originY],
        [relativeX+originX,-relativeY+originY],
        [-relativeY+originX,relativeX+originY],
        [-relativeX+originX,-relativeY+originY],
        [-relativeY+originX,-relativeX+originY],
        [-relativeX+originX,relativeY+originY],
        [relativeY+originX,-relativeX+originY],
    ]
}